<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>变化</title>
    <style>
        #div1 {
            border: 1px solid #fc54fc;
            position: absolute;
            left: 100px;
            top: 100px;
            width: 100px;
            height: 100px;
            background-color: #54fcfc;
            transition: 2s all;
            
        }

        #div1:hover {
            transform: rotate(360deg) scale(1.5) rotateY(360deg);
        }

       
    </style>
</head>
<body>
    <div id="div1">
        我是div1
    </div>
</body>
</html>